﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Text;

using System.ComponentModel;

namespace Demo.Models
{
    /// <summary>
    /// 文章信息
    /// </summary>
   [Description("文章")]
    public class Article : BaseEntity<long>
    {
        public Article() {
          
            MicroSite = new MicroSite();
            IsPublish = false;
        }
        /// <summary>
        /// Gets or sets the title.
        /// </summary>
        /// <value>The title.</value>
        public string Title { get; set; }

        /// <summary>
        /// Gets or sets the title_ en.
        /// </summary>
        /// <value>The title_ en.</value>
        public string Title_En { get; set; }

        /// <summary>
        /// Gets or sets the author.
        /// </summary>
        /// <value>The author.</value>
        public string Author { get; set; }

        /// <summary>
        /// Gets or sets the abstract.
        /// </summary>
        /// <value>The abstract.</value>
        public string Abstract { get; set; }

        /// <summary>
        /// Gets or sets the abstract_ en.
        /// </summary>
        /// <value>The abstract_ en.</value>
        public string Abstract_En { get; set; }
        /// <summary>
        /// Gets or sets the content.
        /// </summary>
        /// <value>The content.</value>
        public string Content { get; set; }

        /// <summary>
        /// Gets or sets the URL.
        /// </summary>
        /// <value>The URL.</value>
        public string Url { get; set; }


        /// <summary>
        /// Gets or sets a value indicating whether this instance is pulbish.
        /// </summary>
        /// <value><c>true</c> if this instance is pulbish; otherwise, <c>false</c>.</value>
        public bool IsPublish { get; set; }
        /// <summary>
        /// Gets or sets the micro site_ identifier.
        /// </summary>
        /// <value>The micro site_ identifier.</value>
        public long MicroSite_Id { get; set; }

        /// <summary>
        /// Gets or sets the micro site.
        /// </summary>
        /// <value>The micro site.</value>
        public virtual MicroSite MicroSite { get; set; }


        /// <summary>
        /// 浏览量
        /// </summary>
        /// <value>The browse number.</value>
        public long BrowseNumber { get; set; } 
    }
}
